package com.tf_cut.backend.agent.service;

import com.tf_cut.backend.agent.pojo.AgentCashOrder;
import com.tf_cut.backend.agent.vo.AgentCashOrderVo;
import com.tf_cut.backend.common.pojo.PageInfo;
import com.tf_cut.backend.common.service.CommonService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AgentCashOrderService extends CommonService<AgentCashOrderVo, AgentCashOrder,String> {

    List<AgentCashOrderVo> findlistCashOrderpage(AgentCashOrderVo agentCashOrderVo);
    String getTXSerialNo();

    void updateAgentCashOrder(AgentCashOrderVo agentCashOrderVo);

    PageInfo<AgentCashOrderVo> findListAgentCashOrder(AgentCashOrderVo avo);

    void update(AgentCashOrderVo avo);

    String qryLastSerial(@Param("orderId") String orderId);
}
